#include "../includes/libalgorithm.h"
int main() 
{
    std::vector<BusLine> busLines;
    BusSystem system;
    system.update.addTestRoutes(busLines);  // Add test routes including reverse lines

    std::cout << system.routes.size() << " routes loaded.\n";
    // for (const auto& routePair : system.routes) 
    // {
    //     std::cout << "Route Key: " << routePair.first << std::endl;
    //     for (const auto& line : routePair.second) 
    //     {
    //         std::cout << "Line Name: " << line.lineName << std::endl;
    //         std::cout << "Stations: ";
    //         for (const auto& stop : line.stations) 
    //         {
    //             std::cout << stop << " ";
    //         }
    //         std::cout << std::endl;
    //         std::cout << "First Bus Time: " << line.firstBusTime << std::endl;
    //         std::cout << "Last Bus Time: " << line.lastBusTime << std::endl;
    //     }
    // }

    system.user.login();          // User login and menu selection
    return 0;
}
